<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ page
	import="com.telecom.cms.util.*"%>
	
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head> 
		<LINK href="images/default.css" type=text/css rel=stylesheet>
		<STYLE>#tabsI {
			FONT-SIZE: 93%; BACKGROUND: #ffffff; FLOAT: left; WIDTH: 100%; LINE-HEIGHT: normal; BORDER-BOTTOM: #dd740b 1px solid
		}
		#tabsI UL {
			PADDING-RIGHT: 10px; PADDING-LEFT: 50px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 10px; LIST-STYLE-TYPE: none
		}
		#tabsI LI {
			PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px
		}
		#tabsI A {
			PADDING-RIGHT: 0px; PADDING-LEFT: 5px; BACKGROUND: url(images/tableftI.gif) no-repeat left top; FLOAT: left; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; TEXT-DECORATION: none
		}
		#tabsI A SPAN {
			PADDING-RIGHT: 15px; DISPLAY: block; PADDING-LEFT: 6px; BACKGROUND: url(images/tabrightI.gif) no-repeat right top; FLOAT: left; PADDING-BOTTOM: 4px; COLOR: #fff; PADDING-TOP: 5px
		}
		#tabsI A SPAN {
			FLOAT: none
		}
		#tabsI A:hover SPAN {
			COLOR: #fff
		}
		#tabsI A:hover {
			BACKGROUND-POSITION: 0% -42px
		}
		#tabsI A:hover SPAN {
			BACKGROUND-POSITION: 100% -42px
		}
		</STYLE>

		<SCRIPT language=javascript>
<!--

//关闭和打开LOGO的脚本函数
    
	  var logoStatus = 1;
	  function switchLogo() {
	    if(logoStatus == 1) {
	      window.tb_logo.style.display = "none";
	      logoStatus = 0; 
	      window.logoswitcher.src = "/images/main_menu_down_zx.jpg";
	      return;
	    }
	    if(logoStatus == 0) {
	      window.tb_logo.style.display = "";
	      logoStatus = 1;
	      window.logoswitcher.src = "/images/main_menu_up_zx.jpg";
	      return;
	    }
	  }
	
    function menuClick(appId,appName,defaultPage){
    
      //parent.frames("frmLeft").location.href="mainLeft.htm";
      //parent.frames("frmControl").location.href="control.htm";
      //alert("1"+appId);

    	parent.outer_frame.rows="99%,1,*";
    	//alert("2"+appId);
    	if(appId.indexOf("yhtq")>-1||appId.indexOf("yxhd")>-1||appId.indexOf("yxbc")>-1||appId.indexOf("eval")>-1)
    	{
    	  parent.bottomFrame.cols="0,*";
    	  //alert(appId);
    	  }
    	else
    	{
    	  parent.bottomFrame.cols="250,*"; 
    	  parent.frames("upFrame").location.href="blank.htm";
    	  //alert("no"+appId);
    	  }
    }
    
    		function unload(){			
				//parent.window.close();
				parent.window.location="logon.do";
			}
    
    //-->
</SCRIPT>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
		<title>Insert title here</title>
	</head>
	<body onUnload='javascript:unload();'>
		<TABLE height=33 cellSpacing=0 cellPadding=0 width="100%" border=0>
			<TBODY>
				<TR id=tb_logo>
					<TD height=57>
						<TABLE height=57 cellSpacing=0 cellPadding=0 width="100%" border=0>
							<TBODY>
								<TR>
									<!--<TD width="33%"><img src="images/telecom.JPG" width="174" height="65"></TD>-->
									<TD width="6%"></TD>
									<TD vAlign=middle noWrap>
										<img src="images/cms_logo_<%=(new com.telecom.cms.util.Constant()).getPara("PROVINCE")%>.jpg">
									</TD>
									<TD vAlign=top align=center width="61%">
										<img src="images/teradata_logo.gif">
									</TD>
								</TR>
							</TBODY>
						</TABLE>
					</TD>
				</TR>
				<TR>
					<TD height=20>
					<%
					int urer_auth = 1;
					if (null != request.getSession().getAttribute("User_Auth")) {
						urer_auth = Integer.parseInt(request.getSession().getAttribute("User_Auth")
						.toString());
					}
					%>
						<TABLE height=20 cellSpacing=0 cellPadding=0 width="100%" border=0>
							<TBODY>
								<TR>
									<TD height="20">
										<DIV id=tabsI>
											<UL>
												<LI>
													<A onClick="menuClick('homepage','首页','mainRight.htm')"
														href="topgroup.jsp" target="upFrame"><SPAN>首页</SPAN>
													</A>
												<LI>
												<%
														if (urer_auth!=2) {
													%>
												<LI>
													<A onClick="menuClick('yhtq','用户提取','mainRight.htm')"
														title="根据用户特征细分出一个目标群。" href="cluster/cmsindex.jsp?kindId=2" target="upFrame"><SPAN>用户提取</SPAN>
													</A>
												<%} %>
												
													<%
														if (urer_auth!=2) {
													%>
												<LI>
													<A onClick="menuClick('hmfc','号码反查','mainRight.htm')"
														title="根据输入的号码查询详细信息" href="result.do?method=pickup" target="_blank"><SPAN>号码反查</SPAN>
													</A>
													<%if(Constant.CheckAuth()==2) { %>
												<LI>
													<A onClick="menuClick('ida','集成取数','mainRight.htm')"
														title="提供各种取数模板实现用户快捷取数的目的" href="ida.do?method=idaleft" target="leftFrame"><SPAN>集成取数</SPAN>
													</A>
												<LI>
													<A onClick="menuClick('yxhd','营销活动','mainRight.htm')"
														title="定义一个营销活动，并对相关信息进行配置。" href="campCamp.do?method=list" target="upFrame"><SPAN>营销活动</SPAN>
													</A>
												<LI>

													<A onClick="menuClick('yxbc','营销波次','mainRight.htm')"
														title="对某一营销活动定义多个波次，以满足多波次营销的需求" href="campcampseq.do?method=list" target="upFrame"><SPAN>营销波次</SPAN>
													</A>
													<%
													}
													}
													if(Constant.CheckAuth()==2) { 
													%>
												<LI>
													<A onClick="menuClick('khjc','客户接触','mainRight.htm')"
														title="客户接触界面，并可保留客户接触结果。" href="campcont.do?method=leftlist&userid=${User_Id}" target="leftFrame"><SPAN>客户接触</SPAN>
													</A>
												
													<%
													}
														if (urer_auth!=2) {
													%>
													<LI>
													<A onClick="menuClick('cim','统一视图','mainRight.htm')"
														title="统一客户视图，可查询客户的所有相关信息。" href="cimleft.jsp" target="leftFrame"><SPAN>统一视图</SPAN>
													</A>
													<%if(Constant.CheckAuth()==2) {  %>
												<LI>
													<A onClick="menuClick('eval','营销监控','mainRight.htm')"
														title="对营销过程监控及对营销前后的效果进行评估。" href="eval/camp_audit.jsp" target="upFrame"><SPAN>营销监控</SPAN>
													</A>
												
													<%
													}
													}
														if (urer_auth==3) {
													%>
												<LI>
													<A onClick="menuClick('99','系统管理','mainRight.htm')"
														href="admleft.jsp" target="leftFrame"><SPAN>系统管理</SPAN>
													</A>
												<LI>
													<A onClick="menuClick('preview','高危锁定','mainRight.htm')"
														href="previewleft.jsp" target="leftFrame"><SPAN>高危锁定</SPAN>
													</A>
													<%
													}
													%>
											</UL>
										</DIV>
									</TD>
									<td height="20" valign="bottom">
										<div
											style="FONT-SIZE: 93%; BACKGROUND: #ffffff; FLOAT: left; WIDTH: 100%; LINE-HEIGHT: normal;BORDER-BOTTOM: #dd740b 1px solid">
											<A title="退出登录" href="javascript:unload()">退出登录</A>
										</div>
									</td>
								</TR>
							</TBODY>
						</TABLE>
					</TD>
				</TR>
			</TBODY>
		</TABLE>
	</BODY>
</html>
